﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;

namespace Kokomo.Controls
{
	public class FloatingWindow : Window
	{
		static FloatingWindow()
		{
			DefaultStyleKeyProperty.OverrideMetadata(typeof(FloatingWindow), new FrameworkPropertyMetadata(typeof(FloatingWindow)));
		}

		protected override void OnContentChanged(object oldContent, object newContent)
		{
			base.OnContentChanged(oldContent, newContent);

			if (newContent != null)
			{
				//this.RemoveLogicalChild(newContent);
			}
		}
	}
}
